package com.gollum.common.web.config;

import com.github.pagehelper.PageInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * mybatis配置
 *
 * @author Herther
 * @version 1.0.0
 * @ClassName GollumMybatisConfig.java
 * @createTime 2022年12月11日 13:36:00
 */
@Configuration
public class GollumMybatisConfig {


    /**
     * PageHelper分页配置
     *
     * @author Herther.xiang
     * @date 2022/12/11 13:58
     * @since 1.1.1
     */
    @Bean
    public PageInterceptor pageInterceptor() {
        return new PageInterceptor();
    }

}
